package dxn.nl.file.biz.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import dxn.nl.file.biz.dto.CsBaseDataDto;
import dxn.nl.file.biz.hander.BaseDataListTypeHandler;
import dxn.nl.file.biz.hander.ColumnTypeHandler;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
@TableName("user_import_column")
public class UserImportColumnPo {
    private Long id;

    @Schema(title = "网点编号")
    private String orgCode;

    @Schema(title = "网点名称")
    private String orgName;

    @Schema(title = "用户编号")
    private String userCode;

    @Schema(title = "用户名称")
    private String userName;

    @Schema(title = "模块编号")
    private String modeCode;

    @Schema(title = "模块名称")
    private String modeName;

    @Schema(title = "模板名称")
    private String templateName;

    private LocalDateTime modifyTime;

    @TableField(typeHandler = BaseDataListTypeHandler.class)
    private List<CsBaseDataDto> columns;
}
